package com.ease.dao.statement.factory;

import java.util.HashMap;

import com.ease.common.vo.PropertiesLoaderBean;

/**
 * 
 * @author nathanleewei
 * 
 */
public class PropertiesNamedStatementFactory extends PropertiesLoaderBean implements NamedStatementFactory {

	public String getNamedStatement(String namedStatementName, Object parameter) {
		if (null == map) {
			map = new HashMap<Object, Object>();
			init();
		}
		return get(namedStatementName);
	}
}
